package com.lian.chatroom.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class ChatRequestMessage extends Message{

    private String from;    //谁发送的
    private String to;      //发送给谁
    private String content; //消息内容

    @Override
    public int getMessageType() {
        return ChatRequestMessage;
    }
}
